<?php
class Package
{
	// property declaration
	private $name;
	private $assignedUser;
	private $currentProces;
	private $currentStatus;
	private $startDate;
	private $endDate;

	function __construct($name, $assignedUser, $currentProces, $currentStatus, $startDate, $endDate) {
		$this->name 			= $name;
		$this->assignedUser 	= $assignedUser;
		$this->currentProces 	= $currentProces;
		$this->currentStatus 	= $currentStatus;
		$this->startDate 		= $startDate; // datetime object
		$this->endDate 			= DateTime::createFromFormat('j-m-Y', $endDate); // datetime object
	}
   
    // method declaration
    public function getName() {
        return "{$this->name}";
    }
	
	public function getAssignedUser() {
		return "{$this->assignedUser}";
	}
	
	public function getCurrentProces() {
		return "{$this->currentProces}";
	}
	
	public function getCurrentStatus() {
		return "{$this->currentStatus}";
	}
	
	public function getStartDate() {
		return $this->startDate;
	}
	
	public function getEndDate() {
		return $this->endDate;
	}
}
?>